<?php
return [
    'enable' => true, //默认开启状态
    'name' => 'hyperf文档',//项目名称
    'schema' => 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json',//postman 文件约束
    'field' => [
        'status' => 'status',//接口返回状态字段字段
        'message' => 'message',//消息提示字段
        'list' => 'list',//返回参数字段(在有列表的情况下)
        'data' => 'data',//返回参数字段(在单挑数据的情况下)
        'page' => 'page',//当前页字段
        'row' => 'row',//每页条数字段
        'token' => 'token',//验证字段
    ],
    'value' => [
        'statusSuccess' => 1,//成功返回消息状态
        'successMessage' => 'ok',//操作成功返回 字段
        'pager' => 1,//当前默认页数
        'row' => 15,//每页默认条数
        //{"message":"ok","status":1,"data":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC9hZG1pblwvbG9naW4iLCJpYXQiOjE2MTk3NjMxMzYsImV4cCI6MTYyMDM2NzkzNiwibmJmIjoxNjE5NzYzMTM2LCJqdGkiOiJIVzVpcElWOWhiTFJNVHR0Iiwic3ViIjoxLCJwcnYiOiJjZjI4NGMyYjFlMDZmMzNjMjZiZDU3OTc1NjZkOWZkNzRiZTExYmY1In0.rV2UKhp-GrdRx8Or8AF7eokx44xFaU70nrs4uOY09XU","info":{"id":1,"avatar":"https:\/\/dubaiimg.dubaizj.com\/5c4307171cc2e","phone":"0589711315","username":"john","email":"john@qq.com","last_login":1597485977,"login_ip":"127.0.0.1","create_ip":null,"created_at":"1970-01-01","updated_at":"2020-09-30","access":["super_admin"],"role":[{"id":2,"name":"super_admin","has_role":true},{"id":3,"name":"admin","has_role":false},{"id":4,"name":"agent","has_role":false},{"id":5,"name":"manager","has_role":false}],"agent":null,"roles":[{"id":2,"name":"super_admin","guard_name":"admin","created_at":"2020-09-09T07:43:53.000000Z","updated_at":"2020-09-09T07:43:53.000000Z","pivot":{"model_id":1,"role_id":2,"model_type":"App\\Admin"}}]}}}
        'tokenValue' => 'data.token',//登录的时候获取token位置,如上面这个字段就是登录成功后的返回字段,token的位置在 data.token
    ]

];

